
*{
    margin:0px;
    padding:0px;
    outline: none;
}
p,div
{
    box-sizing:border-box;
    -moz-box-sizing:border-box; /* Firefox */
    -webkit-box-sizing:border-box; /* Safari */
}
body{
    min-width: 320px;
    max-width: 640px;
    margin:0 auto;
}
html{
    font-size:62.5%;
}
.bodyBox{
    width:100%;
    background: url("/templates/images/daysign_new/bg.jpg")no-repeat top left;
    background-size: cover;
    text-align: center;
    padding-top: 1rem;
    position: relative;
}
.sign{
    width: 35%;
    border-radius: 50%;
    height: 200px;
    background: rgba(255, 255, 255, 0.8);
    display: block;
    margin: 0 auto;
    position: relative;
}
.signBox{
    width:80%;
    height:160px;
    border-radius:50%;
    background: #fff;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left:50%;
    -moz-transform:translate(-50%,-50%);
    -webkit-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
}
.signBtn{
    width:80%;
    height:100px;
    border-radius:50%;
    background: #FFFFff;
    border:2px solid #feac42;
    position: absolute;
    top: 50%;
    left:50%;
    -moz-transform:translate(-50%,-50%);
    -webkit-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    font-size: 1.8rem;
    color: #feac42;
}
.draw{
    width:100%;
    background:url(/templates/images/daysign_new/zhuanpan.png) no-repeat center;
    background-size: 90%;
    position: relative;
}
.num{
    font-size: 1.4rem;
    color:#fff;
    padding:1rem;
}
.rotarybtn {
    background-size: contain;
    display: inline-block;
    position: absolute;
    width: 16%;
    height: 0;
    padding-bottom: 17%;
    left: 42.2%;
    top: 38%;
    color: #fff;
    padding-top: 4.5%;
    text-align: center;
    font-weight: bold;
    z-index: 100;
    font-size: 1.4rem;
    text-decoration: none;
}
.rotaryArrow {
    position: absolute;
    left: 40%;
    top: 35%;
    width: 20.6%;
    height: 0;
    padding-bottom: 26.15%;
    background: url(/templates/images/daysign_new/81.png) no-repeat;
    background-size: contain;
    z-index: 15;
}
.zp_data ul {
    position: relative;
    display: inline-block;
}
.zp_data li {
    text-align: center;
    display: inline-block;
    position: absolute;
    width: 70px;
    height: 58px;
}
.zp_data li p{
    font-size:1.6rem;
    color:#f5354c;
    transform:rotate(175deg);
    -ms-transform:rotate(175deg); 	/* IE 9 */
    -moz-transform:rotate(175deg); 	/* Firefox */
    -webkit-transform: rotate(175deg); /* Safari �� Chrome */
    -o-transform:rotate(175deg);
}
.zp_data li span{
    font-size:1.2rem;
    color: #333333;
}
.zp_data ul li img{
    width: 28px;
    height: 28px;
}
.zp_data li:nth-child(1) {
    transform: rotate(22.5deg);
    -ms-transform: rotate(22.5deg);
    -moz-transform: (22.5deg);
    -webkit-transform: rotate(22.5deg);
    -o-transform: rotate(22.5deg);
    top: 55px;
    left: 0px;
}

.zp_data li:nth-child(2) {
    transform: rotate(67.5deg);
    -ms-transform: rotate(67.5deg);
    -moz-transform: (67.5deg);
    -webkit-transform: rotate(67.5deg);
    -o-transform: rotate(67.5deg);
    top: 95px;
    left: 30px;
}

.zp_data li:nth-child(3) {
    transform: rotate(112.5deg);
    -ms-transform: rotate(112.5deg);
    -moz-transform: (112.5deg);
    -webkit-transform: rotate(112.5deg);
    -o-transform: rotate(112.5deg);
    top: 143px;
    left: 29px;
}

.zp_data li:nth-child(4) {
    transform: rotate(157.5deg);
    -ms-transform: rotate(157.5deg);
    -moz-transform: (157.5deg);
    -webkit-transform: rotate(157.5deg);
    -o-transform: rotate(157.5deg);
    top: 182px;
    left: 0px;
}

.zp_data li:nth-child(5) {
    transform: rotate(202.5deg);
    -ms-transform: rotate(202.5deg);
    -moz-transform: (202.5deg);
    -webkit-transform: rotate(202.5deg);
    -o-transform: rotate(202.5deg);
    top: 180px;
    left: -54px;
}

.zp_data li:nth-child(6) {
    transform: rotate(247.5deg);
    -ms-transform: rotate(247.5deg);
    -moz-transform: (247.5deg);
    -webkit-transform: rotate(247.5deg);
    -o-transform: rotate(330deg);
    top: 149px;
    left: -100px;
}
.zp_data li:nth-child(7) {
    transform: rotate(292.5deg);
    -ms-transform: rotate(292.5deg);
    -moz-transform: (292.5deg);
    -webkit-transform: rotate(292.5deg);
    -o-transform: rotate(292.5deg);
    top: 90px;
    left: -105px;
}
.zp_data li:nth-child(8) {
    transform: rotate(337.5deg);
    -ms-transform: rotate(337.5deg);
    -moz-transform: (337.5deg);
    -webkit-transform: rotate(337.5deg);
    -o-transform: rotate(337.5deg);
    top: 45px;
    left: -60px;
}
.ruler{
    width:100%;
    padding:3%;
}
.ruler p{
    text-align: left;
    font-size: 1.4rem;
    color:#fff;
    padding: 0.5rem 0;
    line-height: 1.6rem;
}
.ruler h2{
    color:#fff;
    font-size:1.6rem;
    text-align: left;
    /* padding: 0 2rem; */
}
.ruler h2 img{
    vertical-align: top;
    width:20px;
    margin: 0 4px;
}
.bottomBox{
    background: url("/templates/images/daysign_new/bottomBG.png") no-repeat;
    background-size: 100% 100%;
    text-align: center;
    padding: 1rem;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
}
.bottomBox h2{
    font-size: 1.8rem;
    color:#f5344c;
    font-weight: 600;
    line-height: 3rem;
}
.bottomBox p{
    font-size: 1.4rem;
    color:#333333;
    line-height: 1.6rem;
}
.drawBoxS span{
    font-size: 1.4rem;
    color:#999999;
}
.drawBoxS em{
    font-style: normal;
    color:#e53f3f;
}
.blackWindow{
    width:100%;
    height:100%;
    background: rgba(0, 0, 0, 0.63);
    position: fixed;
    top: 0;
    z-index: 999;
    display: none;
    padding: 10%;
}
.drawBoxS{
    width: 100%;
    height: 78%;
    background-size: contain;
}
.drawBoxS,.drawBox{
    top: 50%;
    left:50%;
    -moz-transform:translate(-50%,-50%);
    -webkit-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    position: absolute;
    display: none;
    text-align: center;
}
.drawBox p{
    font-size: 1.4rem;
    padding: 1.6rem;
    background: rgba(0, 0, 0, 1);
    color: #fff;
    border-radius: 1rem;
}
.drawBoxS button{
    font-size: 1.8rem;
    color:#fff;
    width:50%;
    background: #ff5156;
    border: none;
    line-height: 3rem;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    margin-left: -25%;
    bottom: 26%;
}
.drawBoxS p{
    font-size: 1.8rem;
    color: #333;
    width: 100%;
    /* background: #ff5156; */
    border: none;
    line-height: 2.4rem;
    border-radius: 10px;
    position: absolute;
    /* left: 50%; */
    /* margin-left: -25%; */
    bottom: 34%;
    /* text-align: center; */
}
@media screen and  (min-width: 560px){
    html{
        font-size: 75%;
    }
    .zp_data li:nth-child(1) {
        top: 103px;
        left: 27px;
    }
    .zp_data li:nth-child(2) {
        top: 211px;
        left: 97px;
    }
    .zp_data li:nth-child(3) {
        top: 311px;
        left: 85px;
    }
    .zp_data li:nth-child(4) {
        top: 385px;
        left: 12px;
    }
    .zp_data li:nth-child(5) {
        top: 381px;
        left: -74px;
    }
    .zp_data li:nth-child(6) {
        top: 307px;
        left: -155px;
    }
    .zp_data li:nth-child(7) {
        top: 191px;
        left: -182px;
    }
    .zp_data li:nth-child(8) {
        top: 115px;
        left: -99px;
    }
    .drawBoxS button {
        bottom: 26%;
    }
}
@media screen and  (min-width: 500px)and (max-width: 560px) {
    html{
        font-size: 74%;
    }
    .zp_data li:nth-child(1) {
        top: 95px;
        left: 27px;
    }
    .zp_data li:nth-child(2) {
        top: 174px;
        left: 88px;
    }
    .zp_data li:nth-child(3) {
        top: 266px;
        left: 85px;
    }
    .zp_data li:nth-child(4) {
        top: 331px;
        left: 12px;
    }
    .zp_data li:nth-child(5) {
        top: 334px;
        left: -72px;
    }
    .zp_data li:nth-child(6) {
        top: 258px;
        left: -150px;
    }
    .zp_data li:nth-child(7) {
        top: 156px;
        left: -145px;
    }
    .zp_data li:nth-child(8) {
        top: 93px;
        left: -75px;
    }
    .drawBoxS button {
        bottom: 26%;
    }
}
@media screen and  (min-width: 450px)and (max-width: 500px) {
    html{
        font-size: 73%;
    }
    .zp_data li:nth-child(1) {
        top: 78px;
        left: 14px;
    }
    .zp_data li:nth-child(2) {
        top: 152px;
        left: 74px;
    }
    .zp_data li:nth-child(3) {
        top: 238px;
        left: 64px;
    }
    .zp_data li:nth-child(4) {
        top: 289px;
        left: 12px;
    }
    .zp_data li:nth-child(5) {
        top: 292px;
        left: -72px;
    }
    .zp_data li:nth-child(6) {
        top: 239px;
        left: -137px;
    }
    .zp_data li:nth-child(7) {
        top: 143px;
        left: -145px;
    }
    .zp_data li:nth-child(8) {
        top: 76px;
        left: -75px;
    }
    .drawBoxS button {
        bottom: 26%;
    }
}
@media screen and  (min-width: 415px)and (max-width: 450px) {
    html{
        font-size: 72%;
    }
    .zp_data li:nth-child(1) {
        top: 70px;
        left: 0px;
    }
    .zp_data li:nth-child(2) {
        top: 140px;
        left: 56px;
    }
    .zp_data li:nth-child(3) {
        top: 218px;
        left: 58px;
    }
    .zp_data li:nth-child(4) {
        top: 272px;
        left: 0px;
    }
    .zp_data li:nth-child(5) {
        top: 270px;
        left: -56px;
    }
    .zp_data li:nth-child(6) {
        top: 233px;
        left: -117px;
    }
    .zp_data li:nth-child(7) {
        top: 130px;
        left: -121px;
    }
    .zp_data li:nth-child(8) {
        top: 69px;
        left: -68px;
    }
    .drawBoxS button {
        bottom: 26%;
    }
}
@media screen and  (min-width: 410px) and (max-width: 415px){
    html{
        font-size: 75.5%;
    }
    .zp_data li:nth-child(1) {
        top: 70px;
        left: 0px;
    }
    .zp_data li:nth-child(2) {
        top: 140px;
        left: 56px;
    }
    .zp_data li:nth-child(3) {
        top: 196px;
        left: 42px;
    }
    .zp_data li:nth-child(4) {
        top: 242px;
        left: 0px;
    }
    .zp_data li:nth-child(5) {
        top: 245px;
        left: -56px;
    }
    .zp_data li:nth-child(6) {
        top: 202px;
        left: -117px;
    }
    .zp_data li:nth-child(7) {
        top: 130px;
        left: -121px;
    }
    .zp_data li:nth-child(8) {
        top: 69px;
        left: -68px;
    }
    .drawBoxS button {
        bottom: 26%;
    }
}
@media screen and  (min-width: 370px) and (max-width: 410px){
    html{
        font-size: 68.5%;
    }
    .zp_data li:nth-child(1) {
        top: 69px;
        left: 0px;
    }
    .zp_data li:nth-child(2) {
        top: 132px;
        left: 49px;
    }
    .zp_data li:nth-child(3) {
        top: 190px;
        left: 42px;
    }
    .zp_data li:nth-child(4) {
        top: 223px;
        left: 0px;
    }
    .zp_data li:nth-child(5) {
        top: 230px;
        left: -56px;
    }
    .zp_data li:nth-child(6) {
        top: 192px;
        left: -103px;
    }
    .zp_data li:nth-child(7) {
        top: 124px;
        left: -111px;
    }
    .zp_data li:nth-child(8) {
        top: 67px;
        left: -64px;
    }
    .drawBoxS button {
        bottom: 26%;
    }
}
@media screen and  (min-width: 355px) and (max-width: 370px){
    html{
        font-size: 70.5%;
    }
    .zp_data li:nth-child(1) {
    top: 60px;
    left: 0px;
    }
    .zp_data li:nth-child(2) {
        top: 113px;
        left: 39px;
    }
    .zp_data li:nth-child(3) {
        top: 164px;
        left: 42px;
    }
    .zp_data li:nth-child(4) {
        top: 206px;
        left: 0px;
    }
    .zp_data li:nth-child(5) {
        top: 206px;
        left: -56px;
    }
    .zp_data li:nth-child(6) {
        top: 170px;
        left: -103px;
    }
    .zp_data li:nth-child(7) {
        top: 104px;
        left: -109px;
    }
    .zp_data li:nth-child(8) {
        top: 57px;
        left: -64px;
    }
    .drawBoxS button {
        bottom: 26%;
    }
}
@media screen and  (min-width: 320px) and (max-width: 355px){
    html{
        font-size:62.5%;
    }
    .zp_data li:nth-child(1) {
        top: 52px;
        left: 0px;
    }
    .zp_data li:nth-child(2) {
        top: 95px;
        left: 35px;
    }
    .zp_data li:nth-child(3) {
        top: 145px;
        left: 33px;
    }
    .zp_data li:nth-child(4) {
        top: 179px;
        left: 0px;
    }
    .zp_data li:nth-child(5) {
        top: 189px;
        left: -56px;
    }
    .zp_data li:nth-child(6) {
        top: 151px;
        left: -103px;
    }
    .zp_data li:nth-child(7) {
        top: 93px;
        left: -106px;
    }
    .zp_data li:nth-child(8) {
        top: 50px;
        left: -64px;
    }
    .drawBoxS button {
        bottom: 26%;
    }
}
@media screen and  (max-width: 320px){
    html{
        font-size:62.5%;
    }
}